package cn.zebra.dev.product.moudle.brand.service;

import cn.zebra.dev.ibatis.plus.service.IService;
import cn.zebra.dev.ibatis.plus.utils.PageUtils;
import cn.zebra.dev.product.moudle.brand.entity.BrandEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌表
 *
 * @author runnable
 */
public interface BrandService extends IService<BrandEntity> {

    PageUtils<BrandEntity> findPage(Map<String, Object> params);

    List<BrandEntity> findALL();

    List<BrandEntity> findBrandByCategory(Long categoryId);

    Boolean updateProductBrand(Long id, BrandEntity entity);

}

